﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
//using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PIM_ATE.Electrical
{
    public partial class FrmTestTypeSelect : Form
    {
        public FrmTestTypeSelect(bool iso,bool amph)
        {
            InitializeComponent();
            isTestAmPh = amph;
            isTestIso = iso;
        }

        private void FrmTestTypeSelect_Load(object sender, EventArgs e)
        {          
            cbAmPh.Checked = isTestAmPh;
            cbIso.Checked = isTestIso;
        }

        public bool isTestIso = false, isTestAmPh = false;

        private void btnOk_Click(object sender, EventArgs e)
        {
            isTestAmPh = cbAmPh.Checked;
            isTestIso = cbIso.Checked;
            this.DialogResult = DialogResult.OK;
        }

    }
}
